<div class="employees view">
<h2><?php  __('Employee');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employee['Employee']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Vorname'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employee['Employee']['first_name']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Nachname'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employee['Employee']['last_name']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Fertig'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employee['Employee']['complete']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('GBL'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employee['Employee']['superior_complete']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Created'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employee['Employee']['created']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Modified'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $employee['Employee']['modified']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Employee', true), array('action' => 'edit', $employee['Employee']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Employee', true), array('action' => 'delete', $employee['Employee']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $employee['Employee']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Employees', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Employee', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Employeedetails', true), array('controller' => 'employeedetails', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Employeedetail', true), array('controller' => 'employeedetails', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Employeedetails');?></h3>
	<?php if (!empty($employee['Employeedetail'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Login'); ?></th>
		<th><?php __('Phone'); ?></th>
		<th><?php __('Mobilephone'); ?></th>
		<th><?php __('Umts'); ?></th>
		<th><?php __('Arbeitsplatz'); ?></th>
		<th><?php __('User Id'); ?></th>
		<th><?php __('Department Id'); ?></th>
		<th><?php __('Saftyinstructor Id'); ?></th>
		<th><?php __('Qualitymanager Id'); ?></th>
		<th><?php __('Degree Id'); ?></th>
		<th><?php __('Contract Id'); ?></th>
		<th><?php __('Hardware Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($employee['Employeedetail'] as $employeedetail):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $employeedetail['id'];?></td>
			<td><?php echo $employeedetail['login'];?></td>
			<td><?php echo $employeedetail['phone'];?></td>
			<td><?php echo $employeedetail['mobilephone'];?></td>
			<td><?php echo $employeedetail['umts'];?></td>
			<td><?php echo $employeedetail['seat'];?></td>
			<td><?php echo $employeedetail['user_id'];?></td>
			<td><?php echo $employeedetail['department_id'];?></td>
			<td><?php echo $employeedetail['saftyinstructor_id'];?></td>
			<td><?php echo $employeedetail['qualitymanager_id'];?></td>
			<td><?php echo $employeedetail['degree_id'];?></td>
			<td><?php echo $employeedetail['contract_id'];?></td>
			<td><?php echo $employeedetail['hardware_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'employeedetails', 'action' => 'view', $employeedetail['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'employeedetails', 'action' => 'edit', $employeedetail['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'employeedetails', 'action' => 'delete', $employeedetail['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $employeedetail['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Employeedetail', true), array('controller' => 'employeedetails', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
